home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Over 1,000 Windows 95 Programs
/
Over 1000 Windows 95 Programs (Microforum) (Disc 2).iso
/
0628
/
decoder.txt
< prev
Wrap
Text File
|
1997-04-07
|
4KB
|
85 lines
32-bit uudecoder Shareware Version 1.00
Copyright (C) Andy Kurnia. 1997. All rights reserved.
Syntax: DECODER sourcefile targetdir
To view this file, type:
MORE <DECODER.TXT
This Win32 application uudecodes files in sourcefile, putting them in targetdir
and maintain the path names. It skips non-uuencoded lines (eg. mail headers) as
fast as possible, yet extracts all uuencoded files contained in it. Most useful
when used on a text file saved by your mailer after sorting your bitftp mailbox
by subject (sorting the parts), but can be used on almost anything. If you type
a targetdir that does not exist it will be created, any levels deep. Every path
in the uuencoded header is preserved, so for example:
In C:/Windows/Xy.txt: begin 644 /pub/simtelnet/msdos/c/c--final.zip
Arguments to DECODER: C:/Windows/Xy.txt C:/ftp/Test/
c--final.zip will be created in C:/ftp/Test/pub/simtelnet/msdos/c/ creating the
whole path if necessary. In addition a logfile named DECODER.LOG in C:/ftp/Test
is created (or appended). This is a file you can view with MS-DOS Editor. Mixed
use of slashes and backslashes are allowed, both on the command line and on the
line with the word begin. The trailing / on the directory name is optional, the
leading / on the begin line is also optional. Numbers after begin is ignored.
Note that Long File Names are preserved. This program has been tested and works
with bitftp@pucc.princeton.edu, others may also be fine too but you have to:
- Be able to 'defragment' the uuencoded files, ie. every uuencoded file
is contained in one piece each. There may be headers, but it's better
not to have them.
- Be able to sort the parts. Uuencoded files often come in parts. It is
necessary to have the parts in order (1, 2, 3, etc). No error message
will appear if this was not done, but your file will not be uudecoded
properly.
- Be able to avoid everything (with the possibility of mail headers). I
heard there is a bitftp server which sends mails ending with the word
QUIT. I believe this will cause some problem.
- Do what you can do, especially the above, then save the whole mailbox
as a textfile.
To get the full pathname in the begin line you should send the commands with no
cd and put the pathname in the get command, eg:
To: bitftp@pucc.princeton.edu
Subject:
open ftp.simtel.net
binary
get /pub/simtelnet/msdos/c/c--final.zip
close
quit
DECODER can also uudecode single uuencoded files. Just specify the filename (of
course with the extension) and a target directory. Then delete the logfile! The
only problem will be if the file to be uudecoded is named DECODER.LOG, in which
case you should modify the begin header (for example, rename it to DECODER.LO_)
before executing DECODER.
DECODER will overwrite its target files! Whenever possible you should specify a
target directory that does not exist, letting DECODER create it. (If there is a
header that says begin 644 ../faq.txt you should specify a the target directory
of at least two levels depth, etc.)
As DECODER is only a single EXE (apart from this documentation) no installation
is necessary. Put it wherever you want it to be. A PATHed directory is best.
DECODER is freely distributable but it is shareware. So if you use it regularly
you should send, in cash, US$5.00 or Rp 11.500,00 (Indonesian Rupiahs) to:
Andy Kurnia
Jl. Dr. Makaliwe Raya 33A
Grogol, Jakarta Barat, Indonesia 11450
Suggestions and bug reports are welcome at the following e-mail address. If you
have no e-mail access, you can send it to the address above. I prefer e-mail to
snail mails.
Andy Kurnia <akur@indo.net.id>